package cc.rengu.redp.bizimpl.upmp.service;

import cc.rengu.redp.common.domain.QueryRequest;
import cc.rengu.redp.bizimpl.upmp.domain.IndustryMapInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

import java.util.HashMap;

/**
* @author LiuYuLiang.LL
*/
    public interface IndustryMapInfoService extends IService<IndustryMapInfo> {

    IPage<IndustryMapInfo> findByPage(QueryRequest request, IndustryMapInfo info);

    @Transactional
    void create(IndustryMapInfo entity);

    @Transactional
    void update(IndustryMapInfo entity);

    @Transactional
    void cancel(String id);

    @Transactional
    void delete(String[] ids);

    IPage<HashMap<String,Object>> destCatalogCdSelect2List(QueryRequest request, String q);

    IndustryMapInfo findIndustryMap(String indusCd, String destChannel, String publicPrivateFlag);
}
